Contributing Factors to Pointcut Fragility

نویسندگان

  • Phil Greenwood
  • Awais Rashid
  • Raffi T. Khatchadourian
چکیده

Pointcut fragility is a well-documented problem of AspectOriented Programming with changes to the base-code causing join points to incorrectly fall in or out of scope. In order to combat this problem a tool was developed that provides mechanical assistance to pointcut maintenance. This tool relied on the deep structural commonalities between program elements to detect when pointcut fragility occurs. During the assessment of this tool a number of common practices were uncovered that were employed both in the aspect and basecode that contributed to or prevented pointcut fragility. This paper documents the practices uncovered and describes how they can affect pointcut fragility and design stability in general.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Improving AOP systems' evolvability by decoupling

[acyment,nicok,raltman,fasteasuain]@dc.uba.ar ABSTRACT AOP systems evolvability is severely affected by the tight coupling between aspects and base code. This paper identifies the advice fragility problem, originated in the advice’s need to access the application context while being oblivious to base code details. Proposed solutions to the pointcut fragility problem have generally put forward v...

متن کامل

Modular Contracts with Procedures, Annotations, Pointcuts and Advice

There are numerous mechanisms for modularizing design by contract at the source code level. Three mechanisms have been the main focus of attention, metadata annotations, pointcuts and advice. The latter two are well-known aspect-oriented programming mechanisms, and according to the literature, fare better in achieving contract modularization. However, previous efforts aimed at supporting contra...

متن کامل

Translucid Contracts for Aspect-oriented Interfaces

There is some consensus in the aspect-oriented community that a notion of interface between joinpoints and advice may be necessary for improved modularity of aspect-oriented programs, for modular reasoning, and for overcoming pointcut fragility. Different approaches for adding such interfaces, such as aspect-aware interfaces, pointcut interfaces, crosscutting interfaces, explicit joinpoints, qu...

متن کامل

Detecting Broken Pointcuts Using Structural Commonality and Degree of Interest

Pointcut fragility is a well-documented problem in Aspect-Oriented Programming; changes to the base-code can lead to join points incorrectly falling in or out of the scope of pointcuts. Deciding which pointcuts have broken due to base-code changes is a daunting venture, especially in large and complex systems. We present an automated approach that recommends pointcuts that are likely to require...

متن کامل

A Classification of Pointcut Language Constructs pdfauthor

Aspect-oriented systems provide pointcut languages in order to specify selection criteria for join points which in turn will be adapted. However, a closer look into current pointcut languages reveals that there are large differences among them. Consequently different aspect-oriented system permit to specify different selection criteria. This also means that it is in general hard to state whethe...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009